package cn.xiaolang.event.spring;

import org.greenrobot.eventbus.EventBus;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Dean
 * @date 2021-05-18
 */
@Configuration
public class DnEventBusConfig {

    @Bean
    public EventBus eventBus() {
        return new EventBus();
    }

}